<template>
	<view>
		<!-- 固定定位居中 -->
		<u-button @click="add" type="primary" style="width: 90%;position: fixed;bottom: 60rpx;left: 5%;">{{txt}}</u-button>
	</view>
</template>

<script>
	export default {
		name: "button-content",
		props: {
			'txt': String
		},
		
		methods:{
			add(){
				this.$emit("aClick","123")
			}
		}
	}
</script>

<style>

</style>
